package com.bd.scm.domain.models.room;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mason
 * @since 2019-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tkq_room")
public class TkqRoom extends Model<TkqRoom> {

    private static final long serialVersionUID = 1L;

    /**
     * 对应名称请查看ufdata_fitem表
     */
    @TableField("room_type")
    private Integer roomType;
    @TableField("Dep_state")
    private Integer depState;
    @TableField("dep_level")
    private Integer depLevel;
    @TableField("Dep_info")
    private Integer depInfo;
    @TableField("dep_number")
    private String depNumber;
    @TableField("Dep_no")
    private String depNo;
    @TableField("user_serial")
    private Integer userSerial;
    @TableField("Dep_order")
    private Integer depOrder;
    @TableField("dep_synopsis")
    private String depSynopsis;
    @TableField("dep_exam")
    private Integer depExam;
    @TableField("dep_manifesto")
    private String depManifesto;
    @TableField("Dep_door")
    private Integer depDoor;
    @TableField("dep_fee")
    private String depFee;
    @TableField("Dep_nums")
    private Integer depNums;
    @TableField("Dep_parent")
    private Integer depParent;
    @TableField("fuser_serial")
    private String fuserSerial;
    @TableField("Dep_address")
    private String depAddress;
    @TableField("star_level")
    private Integer starLevel;
    @TableField("reg_serial")
    private String regSerial;
    @TableField("Dep_user")
    private Integer depUser;
    @TableField("dep_showname")
    private String depShowname;
    private LocalDateTime sj;
    @TableId("Dep_serial")
    private Integer depSerial;
    @TableField("Dep_sex")
    private Integer depSex;
    @TableField("room_dep")
    private Integer roomDep;
    private String remark;
    @TableField("level_detail")
    private String levelDetail;
    @TableField("Dep_type")
    private Integer depType;
    @TableField("dep_slogan")
    private String depSlogan;
    @TableField("Dep_name")
    private String depName;


    @Override
    protected Serializable pkVal() {
        return this.depSerial;
    }

}
